import request from '@/utils/request'

// 查询压力详情列表
export function listRing_stress_change(query) {
  return request({
    url: '/ring/ring_stress_change/list',
    method: 'get',
    params: query
  })
}

// 查询压力详情详细
export function getRing_stress_change(id) {
  return request({
    url: '/ring/ring_stress_change/' + id,
    method: 'get'
  })
}

// 新增压力详情
export function addRing_stress_change(data) {
  return request({
    url: '/ring/ring_stress_change',
    method: 'post',
    data: data
  })
}

// 修改压力详情
export function updateRing_stress_change(data) {
  return request({
    url: '/ring/ring_stress_change',
    method: 'put',
    data: data
  })
}

// 删除压力详情
export function delRing_stress_change(id) {
  return request({
    url: '/ring/ring_stress_change/' + id,
    method: 'delete'
  })
}
